<?php
 /*
Plugin Name: Aba Core
Plugin URI: https://www.facebook.com/pham.itdlu
Description: A plugin framework for settings.
Version: 1.0.1 beta
Author: Pham Alex
Author URI: https://www.facebook.com/pham.itdlu
License: A "Slug" license name e.g. GPL2
*/

/**
 * @link http://www.anabas.tk/awc/wiki
 *
 * @package Aba Sulution
 * @subpackage Aba_Core
 * @since Aba Core 1.0.1 beta
 */

defined( 'ABSPATH' ) or die(/*Nothing...*/);

define( 'AWC_CORE', true );

define( 'AWC_VERSION', '1.0.1' );

define( 'AWC_MINIMUM_WP_VERSION', '3.8' );

define( 'AWC_LANG', 'awc' );

define( 'AWC_BASENAME', plugin_basename( dirname( __FILE__ ) ) );

define( 'AWC_BASENAME_FILE', plugin_basename( __FILE__ ) );

define( 'AWC_URI', plugin_dir_url( __FILE__ ) );

define( 'AWC_DIR', plugin_dir_path( __FILE__ ) );

define( 'AWC_ASSETS_URI', AWC_URI . 'assets/' );

define( 'AWC_INC_DIR', AWC_DIR . '/inc' );

define( 'AWC_CLASSES_DIR', AWC_DIR . '/classes' );

define( 'AWC_ICR_ID', 1234579 );

define( 'AWC_ICR_USE', false );

define( 'AWC_AUTOLOAD', true );

global $awcore;

$awcore = new stdClass();

require_once ( AWC_INC_DIR . '/functions.php' );

awc_load();

require_once ( AWC_INC_DIR . '/awc-core-class.php' );

require_once ( AWC_INC_DIR . '/post-template.php' );

$awc_core = new AWC_Core();

$awc_core->trigger();